package com.ezgo.erc.entity;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * 字典库实体类
 * 
 * @author devintam
 *
 * @date 2016-03-12
 */
public class Sysdict extends BaseEntity {

	/**
	 * id 字典编号 dkey key值 kval 数据值 kval 类型 description 描述 sort 排序
	 */
	private static final long serialVersionUID = -8688976950216827914L;

	private Long id;
	private String dkey;
	private String dval;
	private String dgroup;
	private String description;
	private Integer sort;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDkey() {
		return dkey;
	}

	public void setDkey(String dkey) {
		this.dkey = dkey;
	}

	public String getDval() {
		return dval;
	}

	public void setDval(String dval) {
		this.dval = dval;
	}

	public String getDgroup() {
		return dgroup;
	}

	public void setDgroup(String dgroup) {
		this.dgroup = dgroup;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

}
